]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: Set expand of DebugFlags children
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 15 Dec 2023 19:54:00 +0000 (20:54 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 15 Dec 2023 19:58:38 +0000 (20:58 +0100)
Since commit c290a38730eb2a, St.Bin respects the child's
expand properties instead of basing expansion on the
alignment.

Commit b02800f8 updated a number of callers to prepare for the
change, but the "Flags" tab in looking glass was missed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3060>

js/ui/lookingGlass.js

index 7414a3058f7cfc646b4918434af5c85dcd34b4e5..ff44c2728f1007428280419410f6d36bf0ded959 100644 (file)
@@ -1067,7 +1067,7 @@ const DebugFlag = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
 }, class DebugFlag extends St.Button {
     _init(label) {
-        const box = new St.BoxLayout();
+        const box = new St.BoxLayout({x_expand: true});
 
         const flagLabel = new St.Label({
             text: label,